package org.jeecg.modules.freshman.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: lwgy_freshman
 * @Author: jeecg-boot
 * @Date:   2021-04-19
 * @Version: V1.0
 */
@Data
@TableName("lwgy_freshman")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="lwgy_freshman对象", description="lwgy_freshman")
public class LwgyFreshman implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**学号*/
	@Excel(name = "学号", width = 15)
    @ApiModelProperty(value = "学号")
    private String studentNumber;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String studentName;
	/**身份证号*/
	@Excel(name = "身份证号", width = 15)
    @ApiModelProperty(value = "身份证号")
    private String studentIdcard;
	/**户籍*/
	@Excel(name = "户籍", width = 15)
    @ApiModelProperty(value = "户籍")
    private String studentAddress;
	/**性别*/
	@Excel(name = "性别", width = 15)
    @ApiModelProperty(value = "性别")
    private String studentSex;
	/**校区*/
	@Excel(name = "校区", width = 15)
    @ApiModelProperty(value = "校区")
    private String studentCampus;
	/**院系*/
	@Excel(name = "院系", width = 15)
    @ApiModelProperty(value = "院系")
    private String studentCollege;
	/**专业*/
	@Excel(name = "专业", width = 15)
    @ApiModelProperty(value = "专业")
    private String studentMajor;
	/**班级*/
	@Excel(name = "班级", width = 15)
    @ApiModelProperty(value = "班级")
    private String studentClass;
	/**年级*/
	@Excel(name = "年级", width = 15)
    @ApiModelProperty(value = "年级")
    private String studentYear;
	/**学历*/
	@Excel(name = "学历", width = 15, dicCode = "student_education")
	@Dict(dicCode = "student_education")
    @ApiModelProperty(value = "学历")
    private String studentEducation;
	/**入学时间*/
	@Excel(name = "入学时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "入学时间")
    private Date studentInschool;
	/**离校时间*/
	@Excel(name = "离校时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "离校时间")
    private Date studentLeaveschool;
	/**学生状态0：在校，1：离校，2：未报到*/
	@Excel(name = "学生状态0：在校，1：离校，2：未报到", width = 15, dicCode = "student_state")
	@Dict(dicCode = "student_state")
    @ApiModelProperty(value = "学生状态0：在校，1：离校，2：未报到")
    private String studentState;
	/**照片*/
	@Excel(name = "照片", width = 15)
    @ApiModelProperty(value = "照片")
    private String studentPhoto;
	/**电话*/
	@Excel(name = "电话", width = 15)
    @ApiModelProperty(value = "电话")
    private String studentPhone;
	/**分发状态0：在校，1：离校，2：未报到*/
	@Excel(name = "分发状态0：在校，1：离校，2：未报到", width = 15)
    @ApiModelProperty(value = "分发状态0：已分发，1：未分发")
    private String distributeState;
	/***/
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
	/**是否删除*/
	@Excel(name = "是否删除", width = 15, dicCode = "student_delflag")
	@Dict(dicCode = "student_delflag")
    @ApiModelProperty(value = "是否删除")
    private String studentDelflag;
	/**学制*/
	@Excel(name = "学制", width = 15)
    @ApiModelProperty(value = "学制")
    private String studentEducationalS;
}
